using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataModels.Models
{
    [Table("Translations")]
    public partial class Translation
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int TransID { get; set; }
        public int LangID { get; set; }
        public int LabelNo { get; set; }

        [Required]
        [StringLength(1000)]
        public string LText { get; set; }

        [ForeignKey("LangID")]
        public virtual Language Language { get; set; }
    }
}
